<!--
 * @Author: 'yangyuhang1203' '2621131059@qq.com'
 * @Date: 2025-09-09 09:23:24
 * @LastEditors: 'yangyuhang1203' '2621131059@qq.com'
 * @LastEditTime: 2025-09-09 09:38:08
 * @FilePath: \企业级\前端\CSS\案例\js引入.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js引入</title>
    <!-- <script>
        alert('hello world');
    </script> -->
</head>
<body>
    <div></div>
    <!-- 输出在HTML -->
    <script>
        document.write('今天是星期二');
    </script>
    <!-- //输出在控制台（F12） -->
    <script>
        console.log('现在是9；36');
    </script>
    <!-- 页面任何地方都可以写，一般写在页面底部-->
    <!-- /输出在警告框 -->
    <script>
        alert('hello world');
    </script>
    <!-- <script src="../js/demo.js"></script> -->
</body>
</html>